Optimal. Leaf size=183 \[ \frac{2 \sqrt{2} \sqrt [4]{b-a} \sqrt{c \cos (e+f x)} \sqrt{\frac{a+b \sin (e+f x)}{(a-b) (1-\sin (e+f x))}} F\left (\left .\sin ^{-1}\left (\frac{\sqrt [4]{a+b} \sqrt{\frac{\cos (e+f x)+\sin (e+f x)+1}{\cos (e+f x)-\sin (e+f x)+1}}}{\sqrt [4]{b-a}}\right )\right |-1\right )}{c f \sqrt [4]{a+b} \sqrt{\frac{\sin (e+f x)+\cos (e+f x)+1}{-\sin (e+f x)+\cos (e+f x)+1}} \sqrt{a+b \sin (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [B] time = 0.427507, antiderivative size = 374, normalized size of antiderivative = 2.04, number of steps used = 2, number of rules used = 2, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.074, Rules used = {2697, 220} \[ \frac{\sqrt{2} \sqrt [4]{a-b} \sqrt{c \cos (e+f x)} \sqrt{\frac{a+b \sin (e+f x)}{(a-b) (1-\sin (e+f x))}} \sqrt{\frac{a+b \sin (e+f x)}{(a-b) (\sin (e) (-\cos (f x))-\cos (e) \sin (f x)+1) \left (\frac{\sqrt{a+b} (\sin (e+f x)+\cos (e+f x)+1)}{\sqrt{a-b} (-\sin (e+f x)+\cos (e+f x)+1)}+1\right )^2}} \left (\frac{\sqrt{a+b} (\sin (e+f x)+\cos (e+f x)+1)}{\sqrt{a-b} (-\sin (e+f x)+\cos (e+f x)+1)}+1\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{a+b} \sqrt{\frac{\cos (e+f x)+\sin (e+f x)+1}{\cos (e+f x)-\sin (e+f x)+1}}}{\sqrt [4]{a-b}}\right )|\frac{1}{2}\right )}{c f \sqrt [4]{a+b} \sqrt{\frac{\sin (e+f x)+\cos (e+f x)+1}{-\sin (e+f x)+\cos (e+f x)+1}} \sqrt{a+b \sin (e+f x)} \sqrt{\frac{a+b \sin (e+f x)}{(a-b) (\sin (e) (-\cos (f x))-\cos (e) \sin (f x)+1)}}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 2697
Rule 220
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{c \cos (e+f x)} \sqrt{a+b \sin (e+f x)}} \, dx &=\frac{\left (2 \sqrt{2} \sqrt{c \cos (e+f x)} \sqrt{\frac{a+b \sin (e+f x)}{(a-b) (1-\sin (e+f x))}}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+\frac{(a+b) x^4}{a-b}}} \, dx,x,\sqrt{\frac{1+\cos (e+f x)+\sin (e+f x)}{1+\cos (e+f x)-\sin (e+f x)}}\right )}{c f \sqrt{\frac{1+\cos (e+f x)+\sin (e+f x)}{1+\cos (e+f x)-\sin (e+f x)}} \sqrt{a+b \sin (e+f x)}}\\ &=\frac{\sqrt{2} \sqrt [4]{a-b} \sqrt{c \cos (e+f x)} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{a+b} \sqrt{\frac{1+\cos (e+f x)+\sin (e+f x)}{1+\cos (e+f x)-\sin (e+f x)}}}{\sqrt [4]{a-b}}\right )|\frac{1}{2}\right ) \sqrt{\frac{a+b \sin (e+f x)}{(a-b) (1-\sin (e+f x))}} \sqrt{\frac{a+b \sin (e+f x)}{(a-b) (1-\cos (f x) \sin (e)-\cos (e) \sin (f x)) \left (1+\frac{\sqrt{a+b} (1+\cos (e+f x)+\sin (e+f x))}{\sqrt{a-b} (1+\cos (e+f x)-\sin (e+f x))}\right )^2}} \left (1+\frac{\sqrt{a+b} (1+\cos (e+f x)+\sin (e+f x))}{\sqrt{a-b} (1+\cos (e+f x)-\sin (e+f x))}\right )}{\sqrt [4]{a+b} c f \sqrt{\frac{1+\cos (e+f x)+\sin (e+f x)}{1+\cos (e+f x)-\sin (e+f x)}} \sqrt{a+b \sin (e+f x)} \sqrt{\frac{a+b \sin (e+f x)}{(a-b) (1-\cos (f x) \sin (e)-\cos (e) \sin (f x))}}}\\ \end{align*}
Mathematica [C] time = 0.313366, size = 117, normalized size = 0.64 \[ -\frac{2 c (\sin (e+f x)-1) \left (\frac{(a+b) (\sin (e+f x)+1)}{(a-b) (\sin (e+f x)-1)}\right )^{3/4} \sqrt{a+b \sin (e+f x)} \, _2F_1\left (\frac{1}{2},\frac{3}{4};\frac{3}{2};-\frac{2 (a+b \sin (e+f x))}{(a-b) (\sin (e+f x)-1)}\right )}{f (a+b) (c \cos (e+f x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.514, size = 442, normalized size = 2.4 \begin{align*} 4\,{\frac{ \left ( \cos \left ( fx+e \right ) +1 \right ) ^{2} \left ( -1+\cos \left ( fx+e \right ) \right ) ^{2} \left ( b+\sqrt{-{a}^{2}+{b}^{2}}+a \right ) \left ( 1+\sin \left ( fx+e \right ) \right ) }{f \left ( b+\sqrt{-{a}^{2}+{b}^{2}}-a \right ) \sqrt{a+b\sin \left ( fx+e \right ) } \left ( \sin \left ( fx+e \right ) \right ) ^{4}\sqrt{c\cos \left ( fx+e \right ) }}{\it EllipticF} \left ( \sqrt{{\frac{ \left ( b+\sqrt{-{a}^{2}+{b}^{2}}-a \right ) \left ( -1+\sin \left ( fx+e \right ) \right ) }{ \left ( b+\sqrt{-{a}^{2}+{b}^{2}}+a \right ) \cos \left ( fx+e \right ) }}},\sqrt{{\frac{ \left ( a-b+\sqrt{-{a}^{2}+{b}^{2}} \right ) \left ( b+\sqrt{-{a}^{2}+{b}^{2}}+a \right ) }{ \left ( -b+\sqrt{-{a}^{2}+{b}^{2}}-a \right ) \left ( b+\sqrt{-{a}^{2}+{b}^{2}}-a \right ) }}} \right ) \sqrt{{\frac{\cos \left ( fx+e \right ) \sqrt{-{a}^{2}+{b}^{2}}+a\sin \left ( fx+e \right ) +b\cos \left ( fx+e \right ) +\sqrt{-{a}^{2}+{b}^{2}}+b}{ \left ( b+\sqrt{-{a}^{2}+{b}^{2}}+a \right ) \left ( 1+\cos \left ( fx+e \right ) +\sin \left ( fx+e \right ) \right ) }}}\sqrt{{\frac{ \left ( b+\sqrt{-{a}^{2}+{b}^{2}}-a \right ) \left ( -1+\sin \left ( fx+e \right ) \right ) }{ \left ( b+\sqrt{-{a}^{2}+{b}^{2}}+a \right ) \cos \left ( fx+e \right ) }}}\sqrt{-{\frac{a\sin \left ( fx+e \right ) -\cos \left ( fx+e \right ) \sqrt{-{a}^{2}+{b}^{2}}+b\cos \left ( fx+e \right ) -\sqrt{-{a}^{2}+{b}^{2}}+b}{ \left ( -b+\sqrt{-{a}^{2}+{b}^{2}}-a \right ) \left ( 1+\cos \left ( fx+e \right ) +\sin \left ( fx+e \right ) \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{c \cos \left (f x + e\right )} \sqrt{b \sin \left (f x + e\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{c \cos \left (f x + e\right )} \sqrt{b \sin \left (f x + e\right ) + a}}{b c \cos \left (f x + e\right ) \sin \left (f x + e\right ) + a c \cos \left (f x + e\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{c \cos{\left (e + f x \right )}} \sqrt{a + b \sin{\left (e + f x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{c \cos \left (f x + e\right )} \sqrt{b \sin \left (f x + e\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]